import React from 'react'

import './SidebarOption.scss'
function SidebarOption({active,Icon,text}) {
  return (
    <div className={`SidebarOption ${active && 'SidebarOption__active'}`}>
      <Icon className="SidebarOption-root"/>
      <h2>{text}</h2>
    </div>
  )
}

export default SidebarOption